<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>HTTPResponse</title><link rel="stylesheet" type="text/css" href="../../../../styles/main.css"><script language=JavaScript src="../../../../javascript/main.js"></script><script language=JavaScript src="../../../../javascript/prettify.js"></script><script language=JavaScript src="../../../../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>

<!--  Generated by Natural Docs, version 1.52 -->
<!--  http://www.naturaldocs.org  -->

<!-- saved from url=(0026)http://www.naturaldocs.org -->




<div id=Content><div class="CClass"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="HTTPResponse"></a>HTTPResponse</h1><div class=CBody><p>Handles the parsing and conversion of a standard HTTP 1.1 response.</p><h4 class=CHeading>Author</h4><p>Patrick Bay  The MIT License (MIT)  Copyright &copy; 2013 Patrick Bay  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &ldquo;Software&rdquo;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.&nbsp;  THE SOFTWARE IS PROVIDED &ldquo;AS IS&rdquo;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.&nbsp; IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.&nbsp; </p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#HTTPResponse" >HTTPResponse</a></td><td class=SDescription>Handles the parsing and conversion of a standard HTTP 1.1 response.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#HTTPResponse.Constants" >Constants</a></td><td class=SDescription></td></tr><tr class="SConstant SIndent2 SMarked"><td class=SEntry><a href="#HTTPResponse.CR" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">CR</a></td><td class=SDescription></td></tr><tr class="SConstant SIndent2"><td class=SEntry><a href="#HTTPResponse.LF" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">LF</a></td><td class=SDescription></td></tr><tr class="SConstant SIndent2 SMarked"><td class=SEntry><a href="#HTTPResponse.CRLF" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">CRLF</a></td><td class=SDescription></td></tr><tr class="SConstant SIndent2"><td class=SEntry><a href="#HTTPResponse.doubleCRLF" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">doubleCRLF</a></td><td class=SDescription></td></tr><tr class="SConstant SIndent2 SMarked"><td class=SEntry><a href="#HTTPResponse.SPACE" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">SPACE</a></td><td class=SDescription></td></tr><tr class="SConstant SIndent2"><td class=SEntry><a href="#HTTPResponse.cookieSetHeader" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">cookieSetHeader</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#HTTPResponse.Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#HTTPResponse._statusCode" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">_statusCode</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#HTTPResponse._status" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">_status</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#HTTPResponse._body" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')">_body</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#HTTPResponse._rawResponse" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')">_rawResponse</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#HTTPResponse._protocol" id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')">_protocol</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#HTTPResponse._charSetEncoding" id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')">_charSetEncoding</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#HTTPResponse.Functions_and_Properties" >Functions and Properties</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#HTTPResponse.HTTPResponse" id=link13 onMouseOver="ShowTip(event, 'tt13', 'link13')" onMouseOut="HideTip('tt13')">HTTPResponse</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#HTTPResponse.parseResponseStatus" id=link14 onMouseOver="ShowTip(event, 'tt14', 'link14')" onMouseOut="HideTip('tt14')">parseResponseStatus</a></td><td class=SDescription>Parses the supplied data as HTTP response status information.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#HTTPResponse.parseResponseHeaders" id=link15 onMouseOver="ShowTip(event, 'tt15', 'link15')" onMouseOut="HideTip('tt15')">parseResponseHeaders</a></td><td class=SDescription>Parses the supplied data as HTTP response headers.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#HTTPResponse.parseResponseCookies" id=link16 onMouseOver="ShowTip(event, 'tt16', 'link16')" onMouseOut="HideTip('tt16')">parseResponseCookies</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#HTTPResponse.parseResponseBody" id=link17 onMouseOver="ShowTip(event, 'tt17', 'link17')" onMouseOut="HideTip('tt17')">parseResponseBody</a></td><td class=SDescription>Parses the supplied data as HTTP response body data.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#HTTPResponse.responseIsChunked" id=link18 onMouseOver="ShowTip(event, 'tt18', 'link18')" onMouseOut="HideTip('tt18')">responseIsChunked</a></td><td class=SDescription>True if the HTTP response body is marked as being chunked, false otherwise.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#HTTPResponse.getHeader" id=link19 onMouseOver="ShowTip(event, 'tt19', 'link19')" onMouseOut="HideTip('tt19')">getHeader</a></td><td class=SDescription>Returns a parsed HTTP response header, as a HTTPResponseHeader instance.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#HTTPResponse.rawResponse" id=link20 onMouseOver="ShowTip(event, 'tt20', 'link20')" onMouseOut="HideTip('tt20')">rawResponse</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#HTTPResponse.rawResponse" id=link21 onMouseOver="ShowTip(event, 'tt20', 'link21')" onMouseOut="HideTip('tt20')">rawResponse</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#HTTPResponse.parseChunkedBody" id=link22 onMouseOver="ShowTip(event, 'tt21', 'link22')" onMouseOut="HideTip('tt21')">parseChunkedBody</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#HTTPResponse.getChunkSection" id=link23 onMouseOver="ShowTip(event, 'tt22', 'link23')" onMouseOut="HideTip('tt22')">getChunkSection</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#HTTPResponse.statusSectionComplete" id=link24 onMouseOver="ShowTip(event, 'tt23', 'link24')" onMouseOut="HideTip('tt23')">statusSectionComplete</a></td><td class=SDescription>Checks if the supplied data appears to have sufficient information to parse the HTTP status.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#HTTPResponse.headerSectionComplete" id=link25 onMouseOver="ShowTip(event, 'tt24', 'link25')" onMouseOut="HideTip('tt24')">headerSectionComplete</a></td><td class=SDescription>Checks if the supplied data appears to have sufficient information to parse HTTP headers.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#HTTPResponse.bodySectionComplete" id=link26 onMouseOver="ShowTip(event, 'tt25', 'link26')" onMouseOut="HideTip('tt25')">bodySectionComplete</a></td><td class=SDescription>Checks if the supplied data to have body information supplied.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#HTTPResponse.statusCode" id=link27 onMouseOver="ShowTip(event, 'tt26', 'link27')" onMouseOut="HideTip('tt26')">statusCode</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#HTTPResponse.status" id=link28 onMouseOver="ShowTip(event, 'tt27', 'link28')" onMouseOut="HideTip('tt27')">status</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#HTTPResponse.body" id=link29 onMouseOver="ShowTip(event, 'tt28', 'link29')" onMouseOut="HideTip('tt28')">body</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#HTTPResponse.protocol" id=link30 onMouseOver="ShowTip(event, 'tt29', 'link30')" onMouseOut="HideTip('tt29')">protocol</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#HTTPResponse.charSet" id=link31 onMouseOver="ShowTip(event, 'tt30', 'link31')" onMouseOut="HideTip('tt30')">charSet</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#HTTPResponse.charSet" id=link32 onMouseOver="ShowTip(event, 'tt30', 'link32')" onMouseOut="HideTip('tt30')">charSet</a></td><td class=SDescription></td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.Constants"></a>Constants</h3></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.CR"></a>CR</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const CR: String</td></tr></table></blockquote></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.LF"></a>LF</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const LF: String</td></tr></table></blockquote></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.CRLF"></a>CRLF</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const CRLF: String</td></tr></table></blockquote></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.doubleCRLF"></a>doubleCRLF</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const doubleCRLF: String</td></tr></table></blockquote></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.SPACE"></a>SPACE</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const SPACE: String</td></tr></table></blockquote></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.cookieSetHeader"></a>cookieSetHeader</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const cookieSetHeader: String</td></tr></table></blockquote></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.Variables"></a>Variables</h3></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse._statusCode"></a>_statusCode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">private var _statusCode: int</td></tr></table></blockquote></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse._status"></a>_status</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">private var _status: String</td></tr></table></blockquote></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse._body"></a>_body</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">private var _body: String</td></tr></table></blockquote></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse._rawResponse"></a>_rawResponse</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">private var _rawResponse: ByteArray</td></tr></table></blockquote></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse._protocol"></a>_protocol</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">private var _protocol: String</td></tr></table></blockquote></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse._charSetEncoding"></a>_charSetEncoding</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">private var _charSetEncoding: String</td></tr></table></blockquote></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.Functions_and_Properties"></a>Functions and Properties</h3></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.HTTPResponse"></a>HTTPResponse</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public function HTTPResponse()</td></tr></table></blockquote></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.parseResponseStatus"></a>parseResponseStatus</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public function parseResponseStatus(</td><td class="PParameter  prettyprint " nowrap>rawResponseData:</td><td class="PType  prettyprint " nowrap>&nbsp;ByteArray</td><td class="PAfterParameters  prettyprint "nowrap>):Boolean</td></tr></table></td></tr></table></blockquote><p>Parses the supplied data as HTTP response status information.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>param</td><td class=CDLDescription>  rawResponseData The raw binary response data to attempt to parse.&nbsp; </td></tr></table><h4 class=CHeading>Returns</h4><p>True if the response status information was successfully parsed (subsequently available through the status and HTTPVersion properties), false otherwise.&nbsp; </p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.parseResponseHeaders"></a>parseResponseHeaders</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public function parseResponseHeaders(</td><td class="PParameter  prettyprint " nowrap>rawResponseData:</td><td class="PType  prettyprint " nowrap>&nbsp;ByteArray</td><td class="PAfterParameters  prettyprint "nowrap>):Boolean</td></tr></table></td></tr></table></blockquote><p>Parses the supplied data as HTTP response headers.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>param</td><td class=CDLDescription>  rawResponseData The raw binary response data to attempt to parse.&nbsp; </td></tr></table><h4 class=CHeading>Returns</h4><p>True if the response headers were successfully parsed (subsequently available through the headers property), false otherwise.&nbsp; </p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.parseResponseCookies"></a>parseResponseCookies</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">private function parseResponseCookies():void</td></tr></table></blockquote></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.parseResponseBody"></a>parseResponseBody</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public function parseResponseBody(</td><td class="PParameter  prettyprint " nowrap>rawResponseData:</td><td class="PType  prettyprint " nowrap>&nbsp;ByteArray</td><td class="PAfterParameters  prettyprint "nowrap>):Boolean</td></tr></table></td></tr></table></blockquote><p>Parses the supplied data as HTTP response body data.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>param</td><td class=CDLDescription>  rawResponseData The raw binary response data to attempt to parse.&nbsp; </td></tr></table><h4 class=CHeading>Returns</h4><p>True if the response body was successfully parsed (subsequently available through the body property), false otherwise.&nbsp; </p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.responseIsChunked"></a>responseIsChunked</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public function get responseIsChunked():Boolean</td></tr></table></blockquote><p>True if the HTTP response body is marked as being chunked, false otherwise.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.getHeader"></a>getHeader</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public function getHeader(</td><td class="PParameter  prettyprint " nowrap>headerName:</td><td class="PType  prettyprint " nowrap>&nbsp;String,</td><td class="PDefaultValuePrefix  prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue  prettyprint " width=100%></td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>caseSensitive:</td><td class="PType  prettyprint " nowrap>&nbsp;Boolean</td><td class="PDefaultValuePrefix  prettyprint ">&nbsp;=&nbsp;</td><td class="PDefaultValue  prettyprint " width=100%>true</td><td class="PAfterParameters  prettyprint "nowrap>):HTTPResponseHeader</td></tr></table></td></tr></table></blockquote><p>Returns a parsed HTTP response header, as a HTTPResponseHeader instance.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>param</td><td class=CDLDescription>  headerName The header name (for example, &ldquo;Content-Length&rdquo;), to attempt to retrieve.</td></tr><tr><td class=CDLEntry>param</td><td class=CDLDescription>  caseSensitive True if the headerName parameter is to be matched exactly (case-sensitive), or not.&nbsp; </td></tr></table><h4 class=CHeading>Returns</h4><p>A HTTPResponseHeader instance with the matching header, or null of no such header can be found.&nbsp; </p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.rawResponse"></a>rawResponse</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public function set rawResponse(</td><td class="PParameter  prettyprint " nowrap>responseSet:</td><td class="PType  prettyprint " nowrap>&nbsp;ByteArray</td><td class="PAfterParameters  prettyprint "nowrap>):void</td></tr></table></td></tr></table></blockquote></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.rawResponse"></a>rawResponse</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public function get rawResponse():ByteArray</td></tr></table></blockquote></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.parseChunkedBody"></a>parseChunkedBody</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>private function parseChunkedBody(</td><td class="PParameter  prettyprint " nowrap>chunkedBody:</td><td class="PType  prettyprint " nowrap>&nbsp;String</td><td class="PAfterParameters  prettyprint "nowrap>):String</td></tr></table></td></tr></table></blockquote></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.getChunkSection"></a>getChunkSection</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>private function getChunkSection(</td><td class="PParameter  prettyprint " nowrap>chunkedBody:</td><td class="PType  prettyprint " nowrap>&nbsp;String</td><td class="PAfterParameters  prettyprint "nowrap>):Object</td></tr></table></td></tr></table></blockquote></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.statusSectionComplete"></a>statusSectionComplete</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>private function statusSectionComplete(</td><td class="PParameter  prettyprint " nowrap>rawResponseData:</td><td class="PType  prettyprint " nowrap>&nbsp;ByteArray</td><td class="PAfterParameters  prettyprint "nowrap>):Boolean</td></tr></table></td></tr></table></blockquote><p>Checks if the supplied data appears to have sufficient information to parse the HTTP status.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>param</td><td class=CDLDescription>  rawResponseData The raw response data to verify.&nbsp; </td></tr></table><h4 class=CHeading>Returns</h4><p>True if there is enough information to parse the HTTP status line, false otherwise.&nbsp; </p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.headerSectionComplete"></a>headerSectionComplete</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public function headerSectionComplete(</td><td class="PParameter  prettyprint " nowrap>rawResponseData:</td><td class="PType  prettyprint " nowrap>&nbsp;ByteArray</td><td class="PAfterParameters  prettyprint "nowrap>):Boolean</td></tr></table></td></tr></table></blockquote><p>Checks if the supplied data appears to have sufficient information to parse HTTP headers.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>param</td><td class=CDLDescription>  rawResponseData The raw response data to verify.&nbsp; </td></tr></table><h4 class=CHeading>Returns</h4><p>True if there seems to be enough information to parse HTTP headers, false otherwise.&nbsp; </p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.bodySectionComplete"></a>bodySectionComplete</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public function bodySectionComplete(</td><td class="PParameter  prettyprint " nowrap>rawResponseData:</td><td class="PType  prettyprint " nowrap>&nbsp;ByteArray</td><td class="PAfterParameters  prettyprint "nowrap>):Boolean</td></tr></table></td></tr></table></blockquote><p>Checks if the supplied data to have body information supplied.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>param</td><td class=CDLDescription>  rawResponseData The raw response data to verify.&nbsp; </td></tr></table><h4 class=CHeading>Returns</h4><p>True if there seems to be enough information to parse HTTP headers, false otherwise.&nbsp; </p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.statusCode"></a>statusCode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public function get statusCode():int</td></tr></table></blockquote></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.status"></a>status</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public function get status():String</td></tr></table></blockquote></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.body"></a>body</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public function get body():String</td></tr></table></blockquote></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.protocol"></a>protocol</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public function get protocol():String</td></tr></table></blockquote></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.charSet"></a>charSet</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public function get charSet():String</td></tr></table></blockquote></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="HTTPResponse.charSet"></a>charSet</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public function set charSet(</td><td class="PParameter  prettyprint " nowrap>setEncoding:</td><td class="PType  prettyprint " nowrap>&nbsp;String</td><td class="PAfterParameters  prettyprint "nowrap>):void</td></tr></table></td></tr></table></blockquote></div></div></div>

</div><!--Content-->


<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->


<div id=Menu><div class=MEntry><div class=MFile><a href="../../../Main-as.html">Main</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Org</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="../utils/LoaderConfig-as.html">LoaderConfig</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Model</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="HTTPCookie-as.html">HTTPCookie</a></div></div><div class=MEntry><div class=MFile id=MSelected>HTTPResponse</div></div><div class=MEntry><div class=MFile><a href="HTTPResponseHeader-as.html">HTTPResponseHeader</a></div></div><div class=MEntry><div class=MFile><a href="SOCKS5Model-as.html">SOCKS5Model</a></div></div><div class=MEntry><div class=MFile><a href="TorASError-as.html">TorASError</a></div></div><div class=MEntry><div class=MFile><a href="TorControlCircuit-as.html">TorControlCircuit</a></div></div><div class=MEntry><div class=MFile><a href="TorControlCircuitHop-as.html">TorControlCircuitHop</a></div></div><div class=MEntry><div class=MFile><a href="TorControlModel-as.html">TorControlModel</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../SOCKS5Tunnel-as.html">SOCKS5Tunnel</a></div></div><div class=MEntry><div class=MFile><a href="../events/SOCKS5TunnelEvent-as.html">SOCKS5TunnelEvent</a></div></div><div class=MEntry><div class=MFile><a href="../TorControl-as.html">TorControl</a></div></div><div class=MEntry><div class=MFile><a href="../events/TorControlEvent-as.html">TorControlEvent</a></div></div><div class=MEntry><div class=MFile><a href="../utils/URLUtil-as.html">URLUtil</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Demos</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="../../../demos/CircuitsDemo-as.html">CircuitsDemo</a></div></div><div class=MEntry><div class=MFile><a href="../../../demos/HTTPLoadDemo-as.html">HTTPLoadDemo</a></div></div><div class=MEntry><div class=MFile><a href="../../../demos/HTTPSLoadDemo-as.html">HTTPSLoadDemo</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent13')">Com</a><div class=MGroupContent id=MGroupContent13><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent9')">Crypto</a><div class=MGroupContent id=MGroupContent9><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">Cert</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/cert/MozillaRootCertificates-as.html">MozillaRootCertificates</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/cert/X509Certificate-as.html">X509Certificate</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/cert/X509CertificateCollection-as.html">X509CertificateCollection</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/Crypto-as.html">Crypto</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Hash</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/hash/HMAC-as.html">HMAC</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/hash/IHash-as.html">IHash</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/hash/MD2-as.html">MD2</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/hash/MD5-as.html">MD5</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/hash/SHA1-as.html">SHA1</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/hash/SHA224-as.html">SHA224</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/hash/SHA256-as.html">SHA256</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/hash/SHABase-as.html">SHABase</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent6')">Prng</a><div class=MGroupContent id=MGroupContent6><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/prng/ARC4-as.html">ARC4</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/prng/IPRNG-as.html">IPRNG</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/prng/Random-as.html">Random</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/prng/TLSPRF-as.html">TLSPRF</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/rsa/RSAKey-as.html">RSAKey</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent7')">Symmetric</a><div class=MGroupContent id=MGroupContent7><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/AESKey-as.html">AESKey</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/BlowFishKey-as.html">BlowFishKey</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/CBCMode-as.html">CBCMode</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/CFB8Mode-as.html">CFB8Mode</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/CFBMode-as.html">CFBMode</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/CTRMode-as.html">CTRMode</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/DESKey-as.html">DESKey</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/ECBMode-as.html">ECBMode</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/ICipher-as.html">ICipher</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/IMode-as.html">IMode</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/IPad-as.html">IPad</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/IStreamCipher-as.html">IStreamCipher</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/ISymmetricKey-as.html">ISymmetricKey</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/IVMode-as.html">IVMode</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/NullPad-as.html">NullPad</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/OFBMode-as.html">OFBMode</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/PKCS5-as.html">PKCS5</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/SimpleIVMode-as.html">SimpleIVMode</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/TLSPad-as.html">TLSPad</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/TripleDESKey-as.html">TripleDESKey</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/XTeaKey-as.html">XTeaKey</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent8')">Tls</a><div class=MGroupContent id=MGroupContent8><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/BulkCiphers-as.html">BulkCiphers</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/CipherSuites-as.html">CipherSuites</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/KeyExchanges-as.html">KeyExchanges</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/MACs-as.html">MACs</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/TLSConfig-as.html">TLSConfig</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/TLSConnectionState-as.html">TLSConnectionState</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/TLSEngine-as.html">TLSEngine</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/TLSError-as.html">TLSError</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/TLSEvent-as.html">TLSEvent</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/TLSSecurityParameters-as.html">TLSSecurityParameters</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/TLSSocket-as.html">TLSSocket</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/TLSTest-as.html">TLSTest</a></div></div></div></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent10')">Math</a><div class=MGroupContent id=MGroupContent10><div class=MEntry><div class=MFile><a href="../../../com/hurlant/math/BarrettReduction-as.html">BarrettReduction</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/math/BigInteger-as.html">BigInteger</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/math/ClassicReduction-as.html">ClassicReduction</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/math/IReduction-as.html">IReduction</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/math/MontgomeryReduction-as.html">MontgomeryReduction</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/math/NullReduction-as.html">NullReduction</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent12')">Util</a><div class=MGroupContent id=MGroupContent12><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/ArrayUtil-as.html">ArrayUtil</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/Base64-as.html">Base64</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent11')">Der</a><div class=MGroupContent id=MGroupContent11><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/ByteString-as.html">ByteString</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/DER-as.html">DER</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/IAsn1Type-as.html">IAsn1Type</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/Integer-as.html">Integer</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/ObjectIdentifier-as.html">ObjectIdentifier</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/OID-as.html">OID</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/PEM-as.html">PEM</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/PrintableString-as.html">PrintableString</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/Sequence-as.html">Sequence</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/Set-as.html">Set</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/Type-as.html">Type</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/UTCTime-as.html">UTCTime</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/Hex-as.html">Hex</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/Memory-as.html">Memory</a></div></div></div></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent14')">Index</a><div class=MGroupContent id=MGroupContent14><div class=MEntry><div class=MIndex><a href="../../../../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../../../../index/Constants.html">Constants</a></div></div><div class=MEntry><div class=MIndex><a href="../../../../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../../../../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../../../../index/Interfaces.html">Interfaces</a></div></div><div class=MEntry><div class=MIndex><a href="../../../../index/Properties.html">Properties</a></div></div><div class=MEntry><div class=MIndex><a href="../../../../index/Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../../../../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option  id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Constants">Constants</option><option value="Functions">Functions</option><option value="Interfaces">Interfaces</option><option value="Properties">Properties</option><option value="Variables">Variables</option></select></div><script language=JavaScript><!--
HideAllBut([1, 2], 15);// --></script></div><!--Menu-->



<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const CR: String</td></tr></table></blockquote></div></div><div class=CToolTip id="tt2"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const LF: String</td></tr></table></blockquote></div></div><div class=CToolTip id="tt3"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const CRLF: String</td></tr></table></blockquote></div></div><div class=CToolTip id="tt4"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const doubleCRLF: String</td></tr></table></blockquote></div></div><div class=CToolTip id="tt5"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const SPACE: String</td></tr></table></blockquote></div></div><div class=CToolTip id="tt6"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const cookieSetHeader: String</td></tr></table></blockquote></div></div><div class=CToolTip id="tt7"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">private var _statusCode: int</td></tr></table></blockquote></div></div><div class=CToolTip id="tt8"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">private var _status: String</td></tr></table></blockquote></div></div><div class=CToolTip id="tt9"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">private var _body: String</td></tr></table></blockquote></div></div><div class=CToolTip id="tt10"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">private var _rawResponse: ByteArray</td></tr></table></blockquote></div></div><div class=CToolTip id="tt11"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">private var _protocol: String</td></tr></table></blockquote></div></div><div class=CToolTip id="tt12"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">private var _charSetEncoding: String</td></tr></table></blockquote></div></div><div class=CToolTip id="tt13"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public function HTTPResponse()</td></tr></table></blockquote></div></div><div class=CToolTip id="tt14"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public function parseResponseStatus(</td><td class="PParameter  prettyprint " nowrap>rawResponseData:</td><td class="PType  prettyprint " nowrap>&nbsp;ByteArray</td><td class="PAfterParameters  prettyprint "nowrap>):Boolean</td></tr></table></td></tr></table></blockquote>Parses the supplied data as HTTP response status information.</div></div><div class=CToolTip id="tt15"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public function parseResponseHeaders(</td><td class="PParameter  prettyprint " nowrap>rawResponseData:</td><td class="PType  prettyprint " nowrap>&nbsp;ByteArray</td><td class="PAfterParameters  prettyprint "nowrap>):Boolean</td></tr></table></td></tr></table></blockquote>Parses the supplied data as HTTP response headers.</div></div><div class=CToolTip id="tt16"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">private function parseResponseCookies():void</td></tr></table></blockquote></div></div><div class=CToolTip id="tt17"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public function parseResponseBody(</td><td class="PParameter  prettyprint " nowrap>rawResponseData:</td><td class="PType  prettyprint " nowrap>&nbsp;ByteArray</td><td class="PAfterParameters  prettyprint "nowrap>):Boolean</td></tr></table></td></tr></table></blockquote>Parses the supplied data as HTTP response body data.</div></div><div class=CToolTip id="tt18"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public function get responseIsChunked():Boolean</td></tr></table></blockquote>True if the HTTP response body is marked as being chunked, false otherwise.</div></div><div class=CToolTip id="tt19"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public function getHeader(</td><td class="PParameter  prettyprint " nowrap>headerName:</td><td class="PType  prettyprint " nowrap>&nbsp;String,</td><td class="PDefaultValuePrefix  prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue  prettyprint " width=100%></td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>caseSensitive:</td><td class="PType  prettyprint " nowrap>&nbsp;Boolean</td><td class="PDefaultValuePrefix  prettyprint ">&nbsp;=&nbsp;</td><td class="PDefaultValue  prettyprint " width=100%>true</td><td class="PAfterParameters  prettyprint "nowrap>):HTTPResponseHeader</td></tr></table></td></tr></table></blockquote>Returns a parsed HTTP response header, as a HTTPResponseHeader instance.</div></div><div class=CToolTip id="tt20"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public function set rawResponse(</td><td class="PParameter  prettyprint " nowrap>responseSet:</td><td class="PType  prettyprint " nowrap>&nbsp;ByteArray</td><td class="PAfterParameters  prettyprint "nowrap>):void</td></tr></table></td></tr></table></blockquote></div></div><div class=CToolTip id="tt21"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>private function parseChunkedBody(</td><td class="PParameter  prettyprint " nowrap>chunkedBody:</td><td class="PType  prettyprint " nowrap>&nbsp;String</td><td class="PAfterParameters  prettyprint "nowrap>):String</td></tr></table></td></tr></table></blockquote></div></div><div class=CToolTip id="tt22"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>private function getChunkSection(</td><td class="PParameter  prettyprint " nowrap>chunkedBody:</td><td class="PType  prettyprint " nowrap>&nbsp;String</td><td class="PAfterParameters  prettyprint "nowrap>):Object</td></tr></table></td></tr></table></blockquote></div></div><div class=CToolTip id="tt23"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>private function statusSectionComplete(</td><td class="PParameter  prettyprint " nowrap>rawResponseData:</td><td class="PType  prettyprint " nowrap>&nbsp;ByteArray</td><td class="PAfterParameters  prettyprint "nowrap>):Boolean</td></tr></table></td></tr></table></blockquote>Checks if the supplied data appears to have sufficient information to parse the HTTP status.</div></div><div class=CToolTip id="tt24"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public function headerSectionComplete(</td><td class="PParameter  prettyprint " nowrap>rawResponseData:</td><td class="PType  prettyprint " nowrap>&nbsp;ByteArray</td><td class="PAfterParameters  prettyprint "nowrap>):Boolean</td></tr></table></td></tr></table></blockquote>Checks if the supplied data appears to have sufficient information to parse HTTP headers.</div></div><div class=CToolTip id="tt25"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public function bodySectionComplete(</td><td class="PParameter  prettyprint " nowrap>rawResponseData:</td><td class="PType  prettyprint " nowrap>&nbsp;ByteArray</td><td class="PAfterParameters  prettyprint "nowrap>):Boolean</td></tr></table></td></tr></table></blockquote>Checks if the supplied data to have body information supplied.</div></div><div class=CToolTip id="tt26"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public function get statusCode():int</td></tr></table></blockquote></div></div><div class=CToolTip id="tt27"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public function get status():String</td></tr></table></blockquote></div></div><div class=CToolTip id="tt28"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public function get body():String</td></tr></table></blockquote></div></div><div class=CToolTip id="tt29"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public function get protocol():String</td></tr></table></blockquote></div></div><div class=CToolTip id="tt30"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public function get charSet():String</td></tr></table></blockquote></div></div><!--END_ND_TOOLTIPS-->




<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>


<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>